Skip to content

Conversation

michielbdejong
Copy link
Collaborator

Add pod template for when Pivot is used in ACP mode

@michielbdejong
Copy link
Collaborator Author

I'm using this on https://pivot.pondersource.com now

Copy link
Contributor

@bourgeoa bourgeoa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.
This helps try ACP.

@michielbdejong
Copy link
Collaborator Author

Actually this is still the wrong way to use ACP, I should add an acp:client matcher pointing to a client id docs for public instances of e.g. mashlib and penny. Will add that once I have it, and then merge this.

@michielbdejong
Copy link
Collaborator Author

We should change mashlib-on-the-pod to register itself with a static client doc, and then we can whitelist that too. But this might be harder than doing this for a stand-alone version of mashlib.

FIXME: it seems from https://github.com/CommunitySolidServer/CommunitySolidServer/blob/main/documentation/markdown/usage/seeding-pods.md that in `--seedConfig` you can add custom template variables when seeding a pod, but in https://github.com/CommunitySolidServer/CommunitySolidServer/blob/7baa9e68ab83ef10bc565afb577b5a502003d670/test/unit/identity/interaction/pod/util/BasePodCreator.test.ts#L56-L58 it seems that the only template variables that exist for allowing end-users to create pods are `base.path`, `webId` and `oidcIssuer`. So AFAICS the only way to specify a default clientId here is to hard-code it in this file here.
@michielbdejong
Copy link
Collaborator Author

@bourgeoa I don't have a merge button here, do you want to merge it?

@bourgeoa bourgeoa merged commit eef8edf into SolidOS:main Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants